package cn.stylefeng.guns.sys.modular.system.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 钉钉，人员申请单，请假、外出的表单
 * </p>
 *
 * @author zxd
 * @since 2022-03-10
 */
@TableName("dingding_day_request")
public class DingdingDayRequest implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 主键;主键id
     */
      @TableId(value = "id", type = IdType.ID_WORKER)
    private Long id;

    /**
     * 员工id;员工id
     */
    @TableField("emp_id")
    private String empId;

    /**
     * 提出申请的日期;提出申请的日期
     */
    @TableField("request_day")
    private Date requestDay;

    /**
     * 申请类型;申请类型
     */
    @TableField("request_detail")
    private String requestDetail;

    /**
     * 开始日期
     */
    @TableField("start_day")
    private Date startDay;

    /**
     * 结束日期
     */
    @TableField("end_day")
    private Date endDay;

    /**
     * 创建时间;创建时间
     */
      @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 创建人;创建人id
     */
      @TableField(value = "create_user", fill = FieldFill.INSERT)
    private Long createUser;

    /**
     * 更新时间;更新时间
     */
      @TableField(value = "update_time", fill = FieldFill.UPDATE)
    private Date updateTime;

    /**
     * 更新人;更新人id
     */
      @TableField(value = "update_user", fill = FieldFill.UPDATE)
    private Long updateUser;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getEmpId() {
        return empId;
    }

    public void setEmpId(String empId) {
        this.empId = empId;
    }

    public Date getRequestDay() {
        return requestDay;
    }

    public void setRequestDay(Date requestDay) {
        this.requestDay = requestDay;
    }

    public String getRequestDetail() {
        return requestDetail;
    }

    public void setRequestDetail(String requestDetail) {
        this.requestDetail = requestDetail;
    }

    public Date getStartDay() {
        return startDay;
    }

    public void setStartDay(Date startDay) {
        this.startDay = startDay;
    }

    public Date getEndDay() {
        return endDay;
    }

    public void setEndDay(Date endDay) {
        this.endDay = endDay;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getCreateUser() {
        return createUser;
    }

    public void setCreateUser(Long createUser) {
        this.createUser = createUser;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Long getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(Long updateUser) {
        this.updateUser = updateUser;
    }

    @Override
    public String toString() {
        return "DingdingDayRequest{" +
        "id=" + id +
        ", empId=" + empId +
        ", requestDay=" + requestDay +
        ", startDay=" + startDay +
        ", endDay=" + endDay +
        ", requestDetail=" + requestDetail +
        ", createTime=" + createTime +
        ", createUser=" + createUser +
        ", updateTime=" + updateTime +
        ", updateUser=" + updateUser +
        "}";
    }
}
